﻿using System;

class BetweenTwoNumbers
{
    static void Main()
    {
        Console.WriteLine("Enter first number:");
        int firstNum = int.Parse(Console.ReadLine());
        Console.WriteLine("Enter the second number:");
        int secondNum = int.Parse(Console.ReadLine());
        int firstNumDivide = firstNum / 5;
        int secondNumDivide = secondNum / 5;
        int difference = Math.Max(firstNumDivide, secondNumDivide) - Math.Min(firstNumDivide, secondNumDivide);
        Console.WriteLine("The integers between {0} and {1} that the reminder of the division by 5 is 0 are: {2}",
            firstNum, secondNum, difference);    
    }
}

